package com.kldy8.kldyw.bean;

import org.json.JSONObject;

/**
 * Created by Administrator on 2016/8/17.
 */
public class New
{
    public String news_id;
    public String title;
    public String column_id;
    public String summary;
    public String cover_pic;
    public String news_url;


    public static New resolution(JSONObject jsonObject)
    {
        if (jsonObject == null)
        {
            return  null;
        }
        New m_new = new New();
        m_new.news_id = jsonObject.optString("news_id");
        m_new.title = jsonObject.optString("title");
        m_new.column_id = jsonObject.optString("column_id");
        m_new.summary = jsonObject.optString("summary");
        m_new.cover_pic = jsonObject.optString("cover_pic");
        m_new.news_url = jsonObject.optString("news_url");
        return m_new;
    }
}
